package org.libcsp.generic.db.annotation;

import java.lang.annotation.*;

@SuppressWarnings("unused")
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.SOURCE)
@Documented
@Inherited
public @interface FieldDescription {

    String name() default "";

    String foreignTable() default "";

    String foreignKey() default "";

    String ref() default "";

    String type() default "";

    int length() default 0;

    boolean allowNull() default true;

    boolean primaryKey() default false;

    String defaultValue() default "";

    String comment() default "";

    String dict() default "";

}
